package com.xique.door.project.miniprogram.biz.service;

import com.xique.common.core.web.domain.AjaxResult;
import com.xique.door.project.miniprogram.bean.request.MiniOpenDoorRecordRequest;
import com.xique.door.project.miniprogram.bean.request.MiniOpenDoorRequest;

/**
 * @author shd
 * @create 2022/4/20 13:24
 */
public interface IMiniDoorBizService {

    /**
     * 获取房屋设备列表
     * @author shd
     * @date 2022/4/20 13:25
     * @return com.xique.common.core.web.domain.AjaxResult
     */
    AjaxResult getHouseDeviceList();

    /**
     * 远程一键开门
     * @author shd
     * @date 2022/4/20 14:09
     * @param request
     * @return com.xique.common.core.web.domain.AjaxResult
     */
    AjaxResult openDoor(MiniOpenDoorRequest request);

    /**
     * 获取开门记录
     * @author shd
     * @date 2022/4/20 15:04
     * @return com.xique.common.core.web.domain.AjaxResult
     */
    AjaxResult getOpenDoorRecord(MiniOpenDoorRecordRequest request);
}
